package com.qiangzhi.utils;

import com.qiangzhi.constant.StatusConstant;

/**
 * Mybatis动态sql xml文件工具类
 */
public class MybatisUtil {

    public static boolean isAdmin(String identify) {
        return StatusConstant.ADMIN.equals(identify);
    }

    public static boolean isTeacher(String identify) {
        return StatusConstant.TEACHER.equals(identify);
    }

    public static boolean isStudent(String identify) {
        return StatusConstant.STUDENT.equals(identify);
    }

    public static boolean isCollege(String identify) {
        return StatusConstant.COLLEGE.equals(identify);
    }

    public static boolean isMajor(String identify) {
        return StatusConstant.MAJOR.equals(identify);
    }

}
